using System;
using Avalonia.Media;
using AvaloniaWeChatList.Controls;

namespace AvaloniaWeChatList.Models;

public enum ChatType
{
    Default,
    Group,
    App,
}

public sealed class ChatItemModel
{
    public required IImage? Photo { get; set; }

    public required string Name { get; set; }

    public required string Content { get; set; }

    public ChatContent? ChatPage { get; set; }

    public ChatType ChatType { get; set; } = ChatType.Default;

    public TimeOnly Time { get; set; } = TimeOnly.FromDateTime(DateTime.Now);

    public bool IsDisturb { get; set; } = true;
}